class Regtangle{
protected:
	float width;
	float length;
public:
	Regtangle(float, float);
	float area();
	void showRegtangle();

};

class Box : public Regtangle{
protected:
	float height;
public:
	Box(float, float, float);
	float area();
	float volumn();
	void showBox();
};